package com.itcast.demo;

public class Run {
    public static void main(String[] args) throws InterruptedException {
        MyThread m1 = new MyThread("A");
        m1.start();
        Thread.sleep(50);
        m1.interrupt();
        System.out.println("Run类-m1.interrupted()= " + m1.interrupted());
    }
}